home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / src / MacSource / TemplateMenu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-14  |  2.1 KB  |  58 lines  |  [TEXT/CWIE]

  1. /*
  2. ==============================================================================
  3. Project:    POV-Ray
  4.  
  5. Version:    3
  6.  
  7. File Name:    TemplateMenu.h
  8.  
  9. Description:
  10.     Template text insertion menus for POV-Ray.
  11.  
  12.     This is the header file, containing the public definitions for
  13.     the useful external functions.
  14.  
  15. Related Files:
  16.     TemplateMenu.c    - Main implementation for these routines
  17. ------------------------------------------------------------------------------
  18. Author:
  19.     Eduard [esp] Schwan
  20. ------------------------------------------------------------------------------
  21.     from Persistence of Vision(tm) Ray Tracer
  22.     Copyright 1996 Persistence of Vision Team
  23. ------------------------------------------------------------------------------
  24.     NOTICE: This source code file is provided so that users may experiment
  25.     with enhancements to POV-Ray and to port the software to platforms other 
  26.     than those supported by the POV-Ray Team.  There are strict rules under
  27.     which you are permitted to use this file.  The rules are in the file
  28.     named POVLEGAL.DOC which should be distributed with this file. If 
  29.     POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  30.     Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  31.     Forum.  The latest version of POV-Ray may be found there as well.
  32.  
  33.     This program is based on the popular DKB raytracer version 2.12.
  34.     DKBTrace was originally written by David K. Buck.
  35.     DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  36. ------------------------------------------------------------------------------
  37. Change History:
  38.     920901    [esp]    Created
  39.     921226    [esp]    Return error code in InitTemplateMenu & chgd NUM_MACRO_MENUS to 7
  40.     931001    [esp]    version 2.0 finished (Released on 10/4/93)
  41. ==============================================================================
  42. */
  43.  
  44. #if !defined (TEMPLATEMENU_H)
  45. #define TEMPLATEMENU_H
  46.  
  47.  
  48. #include "config.h"
  49. #include <types.h>
  50.  
  51. OSErr InitTemplateMenu(void);
  52. void KillTemplateMenu(void);
  53. Boolean TemplatesImported(void);
  54. void ImportTemplates(void);
  55. void HandleTemplateMenu(short theMenuID, short theItem);
  56.  
  57. #endif // TEMPLATEMENU_H
  58.